home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT2.SPK / test / test_b / h / bool next >
Text File  |  1996-08-28  |  332b  |  20 lines

  1. #ifndef BOOL_H
  2. #define BOOL_H
  3.  
  4. #ifndef FALSE
  5. #define FALSE 0
  6. #endif
  7.  
  8. #ifndef TRUE
  9. #define TRUE (! FALSE)
  10. #endif
  11. /*@-cppnames@*/
  12. typedef int bool;
  13. /*@=cppnames@*/
  14. # define bool_initMod()
  15. # define bool_unparse(b) ((b) ? "true" : "false" )
  16. # define bool_not(b) ((b) ? FALSE : TRUE)
  17. # define bool_equal(a,b) ((a) ? (b) : !(b))
  18.  
  19. # endif
  20.